home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 1998 June
/
SGI Freeware 1998 June.iso
/
dist
/
fw_fileutils.idb
/
usr
/
freeware
/
catman
/
u_man
/
cat1
/
rm.Z
/
rm
Wrap
Text File
|
1998-05-21
|
3KB
|
134 lines
/xlv1/freeware/1998.May/fileutils/3.16/fileutils-3.16.diffbuild/man
RRRRMMMM((((1111)))) FFFFSSSSFFFF ((((GGGGNNNNUUUU FFFFiiiilllleeee UUUUttttiiiilllliiiittttiiiieeeessss)))) RRRRMMMM((((1111))))
NNNNAAAAMMMMEEEE
rm - remove files
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
rrrrmmmm [-dfirvR] [--directory] [--force] [--interactive]
[--recursive] [--help] [--version] [--verbose] name...
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
This documentation is no longer being maintained and may be
inaccurate or incomplete. The Texinfo documentation is now
the authoritative source.
This manual page documents the GNU version of rrrrmmmm. rrrrmmmm
removes each specified file. By default, it does not remove
directories.
If a file is unwritable, the standard input is a tty, and
the -_f or --_f_o_r_c_e option is not given, rrrrmmmm prompts the user
for whether to remove the file. If the response does not
begin with `y' or `Y', the file is skipped.
GNU rrrrmmmm, like every program that uses the getopt function to
parse its arguments, lets you use the -- option to indicate
that all following arguments are non-options. To remove a
file called `-f' in the current directory, you could type
either
rm -- -f
or
rm ./-f
The Unix rrrrmmmm program's use of a single `-' for this purpose
predates the development of the getopt standard syntax.
OOOOPPPPTTTTIIIIOOOONNNNSSSS
-_d, --_d_i_r_e_c_t_o_r_y
Remove directories with `unlink' instead of `rmdir',
and don't require a directory to be empty before trying
to unlink it. Only works for the super-user. Because
unlinking a directory causes any files in the deleted
directory to become unreferenced, it is wise to ffffsssscccckkkk
the filesystem after doing this.
-_f, --_f_o_r_c_e
Ignore nonexistent files and never prompt the user.
-_i, --_i_n_t_e_r_a_c_t_i_v_e
Prompt whether to remove each file. If the response
does not begin with `y' or `Y', the file is skipped.
-_r, -_R, --_r_e_c_u_r_s_i_v_e
Remove the contents of directories recursively.
-_v, --_v_e_r_b_o_s_e
Page 1 (printed 5/18/98)
RRRRMMMM((((1111)))) FFFFSSSSFFFF ((((GGGGNNNNUUUU FFFFiiiilllleeee UUUUttttiiiilllliiiittttiiiieeeessss)))) RRRRMMMM((((1111))))
Print the name of each file before removing it.
--_h_e_l_p
Print a usage message on standard output and exit
successfully.
--_v_e_r_s_i_o_n
Print version information on standard output then exit
successfully.
Page 2 (printed 5/18/98)